﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

namespace Rainbow.model
{
    public class StatusBarProperty : ViewModelBase
    {
        public StatusBarProperty()
        {
            color = new SolidColorBrush(Colors.Blue);
            m_contents = "欢迎使用";
        }

        private Brush m_color;
        public Brush color
        {
            get { return m_color; }
            set
            {
                if (value != this.m_color)
                {
                    this.m_color = value;
                    NotifyPropertyChanged();
                }
            }
        }


        private string m_contents;
        public string contents
        {
            get { return m_contents; }
            set
            {
                if (value != this.m_contents)
                {
                    this.m_contents = value;
                    NotifyPropertyChanged();
                }
            }
        }
    }
}
